package com.hmh.student.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hmh.student.system.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyf
 * @since 2025-04-15
 */
public interface ISysUserService extends IService<SysUser> {


    boolean addUser(SysUser sysUser);


    public SysUser login(String userName,String password);

    Page<SysUser> pageUser(String userName, Integer pageSize, Integer current);


    boolean existsById(Integer userId);
}
